{% extends 'base.html' %}
{% block main_window %}
      <!-- Main window -->
        <div class="main_container" id="tickets_page">
          <div class="row-fluid">
            <ul class="breadcrumb">
              <li><a href="#">Home</a> <span class="divider">/</span></li>
              <li><a href="#">Pages</a> <span class="divider">/</span></li>
              <li class="active">Blog</li>
            </ul>
            <h2 class="heading">
              Blog
              <div class="btn-group pull-right">
                <button class="btn"><i class="icon-download-alt"></i> Export</button>
                <button class="btn"><i class="icon-cog"></i> Settings</button>
              </div>
            </h2>
          </div> <!-- /row-fluid -->
          <div class="row-fluid">
            <div class="widget span8">
              <div class="widget-header">
                <i class="icon-bullhorn"></i>
                <h5>我的博文</h5>
                <div class="widget-buttons">
                  <a href="#" data-title="Settings" data-toggle="modal" data-target="#example_modal"><i class="icon-cog"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                </div>
              </div>
              <div class="widget-header-under">Showing 3 of 10</div>
              <div class="widget-body">
                <div class="widget-tickets widget-tickets-large clearfix">
                  <ul>
                      {% for article in list %}
                    <li class="priority-high">
                      <img src="/assets/img/avatars/01.jpg" class="avatar"/>
                      <h5>{{ article.title }}</h5>
                       "{{ article.content }}"
                      <div class="date">{{ article.time }}</div>
                      <div class="username">{{ article.author }}</div>
                      <div class="settings"><a href="#"><i class="icon-reply"></i></a><a href="#"><i class="icon-trash"></i></a><a href="#"><i class="icon-edit"></i></a></div>
                    </li>
                      {% endfor %}
                  </ul>
                </div>
              </div><!--/widget-body-->
            </div> <!-- /widget span8 -->

          </div> <!-- /row-fluid -->
        </div>
        <!-- /Main window -->
{% endblock %}
